Skip to content

Add missing runtime dependencies (pandas, optax, tqdm)#94

Merged
flaport merged 1 commit into
mainfrom
fix/add-missing-runtime-dependencies
Feb 20, 2026
Merged

Add missing runtime dependencies (pandas, optax, tqdm)#94
flaport merged 1 commit into
mainfrom
fix/add-missing-runtime-dependencies

Conversation

@flaport

@flaport flaport commented Feb 20, 2026

Copy link
Copy Markdown
Member

Summary

  • pandas: used in fit.py, interpolation.py, utils.py, parsers/touchstone.py, parsers/lumerical.py but not declared as a dependency
  • optax: used in fit.py but only listed as a dev dependency (moved to runtime)
  • tqdm: used in fit.py but not declared anywhere
  • Adds test_imports.py covering all affected submodules to catch future dependency regressions

Test plan

  • All 7 new import tests pass
  • Full test suite (51 tests) passes
  • Verify pip install sax in a clean venv imports without errors

🤖 Generated with Claude Code

pandas, optax, and tqdm are imported unconditionally by modules loaded
in sax/__init__.py but were not declared as runtime dependencies,
causing ImportError for users installing sax without dev extras.

Also adds import tests covering all affected submodules to prevent
future dependency regressions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions github-actions Bot added the feat New feature or request label Feb 20, 2026
@flaport flaport merged commit dec0866 into main Feb 20, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant